DecryptString

Decrypts an encrypted text string and returns it in plain text. Passwords are automatically encrypted during recording, but some text may have been manually encrypted using the Text Encryption dialog box or the EncryptString statement to make it unreadable. See Encrypting text.

Note: Literal encrypted text strings are automatically decrypted when scripts run.

Syntax

DecryptString("EncryptedString")

Arguments

Argument Description
EncryptedString Text string to decrypt.

Return value

Value Description
Value Decrypted string in plain text.

Example

passwords = OpenRecordset("Passwords")

encryptedPassword = GetRowValue(passwords, "Password")

Window("Login").EditBox("editboxPassword").SetText(DecryptString(encryptedPassword))